package client.layer;

import java.awt.Component;
import javax.swing.JOptionPane;

/**
 * Created by IntelliJ IDEA.
 * User: Awake
 * Date: 27.02.12
 * Time: 10:15
 * To change this template use File | Settings | File Templates.
 */
public class MessageBox {

    public static int ok(String theMessage){
        int result = JOptionPane.showConfirmDialog((Component)
                null, theMessage, "alert", JOptionPane.DEFAULT_OPTION);
        return result;
    }
}